package com.compname.pro1.net;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.net.ServerSocket;
import java.net.Socket;

public class ServerTest {
	public static void main(String[] args) throws Exception {
		ServerSocket server = new ServerSocket(7777);
		while (true) {
			final Socket sk = server.accept();
			new Thread(new Customer(sk)).start();

		}
		// server.close();
	}

}
